.class public Lcom/waiqin365/lightapp/product/a/aj;
.super Landroid/widget/BaseAdapter;


# instance fields
.field protected a:Landroid/content/Context;

.field private b:Ljava/util/List;

.field private c:Ljava/util/List;

.field private d:Lcom/waiqin365/lightapp/product/c/b;

.field private e:Lcom/waiqin365/lightapp/product/c/e;

.field private f:Lcom/waiqin365/lightapp/product/a;

.field private g:Z

.field private h:Ljava/util/List;

.field private i:Landroid/widget/TextView$OnEditorActionListener;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;Z)V
    .locals 3

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->h:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/product/a/at;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/a/at;-><init>(Lcom/waiqin365/lightapp/product/a/aj;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->i:Landroid/widget/TextView$OnEditorActionListener;

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    iput-boolean p3, p0, Lcom/waiqin365/lightapp/product/a/aj;->g:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->c:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/product/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    new-instance v2, Lcom/waiqin365/lightapp/product/a/ak;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/product/a/ak;-><init>(Lcom/waiqin365/lightapp/product/a/aj;)V

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/product/a;-><init>(Landroid/content/Context;Lcom/waiqin365/lightapp/product/g;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->f:Lcom/waiqin365/lightapp/product/a;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/a/aj;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->h:Ljava/util/List;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/a/aj;)Lcom/waiqin365/lightapp/product/c/e;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->e:Lcom/waiqin365/lightapp/product/c/e;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/a/aj;)Lcom/waiqin365/lightapp/product/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->f:Lcom/waiqin365/lightapp/product/a;

    return-object v0
.end method


# virtual methods
.method public a(I)Lcom/waiqin365/base/db/jxccache/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    return-object v0
.end method

.method public a(Lcom/waiqin365/lightapp/product/c/b;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/a/aj;->d:Lcom/waiqin365/lightapp/product/c/b;

    return-void
.end method

.method public a(Lcom/waiqin365/lightapp/product/c/e;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/a/aj;->e:Lcom/waiqin365/lightapp/product/c/e;

    return-void
.end method

.method public a()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public b()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public c()Ljava/lang/String;
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const v1, 0x7f0804b3

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public d()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->d:Lcom/waiqin365/lightapp/product/c/b;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->d:Lcom/waiqin365/lightapp/product/c/b;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/product/c/b;->a()V

    :cond_0
    return-void
.end method

.method public e()Z
    .locals 4

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/waiqin365/base/db/offlinedata/w;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string/jumbo v3, "0"

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/f;->c:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    const/4 v2, 0x1

    :cond_1
    return v2

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method public f()Lcom/waiqin365/lightapp/b/a;
    .locals 12

    const-wide/16 v10, 0x0

    const/4 v2, 0x0

    new-instance v3, Lcom/waiqin365/lightapp/b/a;

    invoke-direct {v3}, Lcom/waiqin365/lightapp/b/a;-><init>()V

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    invoke-static {v4}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v4

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/db/offlinedata/w;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v4

    if-eqz v4, :cond_8

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    invoke-static {v5, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v6

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v8

    cmpl-double v5, v6, v8

    if-lez v5, :cond_3

    iput-boolean v2, v3, Lcom/waiqin365/lightapp/b/a;->a:Z

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v5

    const v6, 0x7f0805bc

    invoke-virtual {v5, v6}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v6

    invoke-virtual {v1, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-boolean v5, p0, Lcom/waiqin365/lightapp/product/a/aj;->g:Z

    if-eqz v5, :cond_2

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->j()Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/lightapp/b/a;->c:Ljava/lang/String;

    :cond_0
    :goto_2
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_1
    :goto_3
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_9

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    invoke-interface {v5, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_1

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_3

    :cond_2
    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->i()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    :cond_3
    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    if-nez v5, :cond_4

    iput-boolean v2, v3, Lcom/waiqin365/lightapp/b/a;->a:Z

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v1

    const v4, 0x7f0805c4

    invoke-virtual {v1, v4}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/lightapp/b/a;->c:Ljava/lang/String;

    goto :goto_2

    :cond_4
    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    invoke-static {v5, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v6

    cmpg-double v5, v6, v10

    if-gez v5, :cond_6

    iput-boolean v2, v3, Lcom/waiqin365/lightapp/b/a;->a:Z

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v5

    const v6, 0x7f0805be

    invoke-virtual {v5, v6}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-boolean v5, p0, Lcom/waiqin365/lightapp/product/a/aj;->g:Z

    if-eqz v5, :cond_5

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->j()Ljava/lang/String;

    move-result-object v0

    :goto_4
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/lightapp/b/a;->c:Ljava/lang/String;

    goto/16 :goto_2

    :cond_5
    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->i()Ljava/lang/String;

    move-result-object v0

    goto :goto_4

    :cond_6
    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    if-eqz v5, :cond_8

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    invoke-static {v5, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v6

    cmpl-double v5, v6, v10

    if-nez v5, :cond_8

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/aj;->b()Z

    move-result v5

    if-nez v5, :cond_8

    iput-boolean v2, v3, Lcom/waiqin365/lightapp/b/a;->a:Z

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v5

    const v6, 0x7f0805bf

    invoke-virtual {v5, v6}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-boolean v5, p0, Lcom/waiqin365/lightapp/product/a/aj;->g:Z

    if-eqz v5, :cond_7

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->j()Ljava/lang/String;

    move-result-object v0

    :goto_5
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/lightapp/b/a;->c:Ljava/lang/String;

    goto/16 :goto_2

    :cond_7
    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->i()Ljava/lang/String;

    move-result-object v0

    goto :goto_5

    :cond_8
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->c:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->removeAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_a

    iput-boolean v2, v3, Lcom/waiqin365/lightapp/b/a;->a:Z

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    const v1, 0x7f0805c5

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v0, 0x1

    new-array v4, v0, [Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->c:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v0

    aput-object v0, v4, v2

    invoke-static {v1, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/lightapp/b/a;->c:Ljava/lang/String;

    :cond_a
    iget-object v0, v3, Lcom/waiqin365/lightapp/b/a;->c:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_b

    iput-boolean v2, v3, Lcom/waiqin365/lightapp/b/a;->b:Z

    :cond_b
    return-object v3
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public synthetic getItem(I)Ljava/lang/Object;
    .locals 1

    invoke-virtual {p0, p1}, Lcom/waiqin365/lightapp/product/a/aj;->a(I)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 18

    if-nez p2, :cond_0

    new-instance v3, Lcom/waiqin365/lightapp/product/a/au;

    invoke-direct {v3}, Lcom/waiqin365/lightapp/product/a/au;-><init>()V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const v4, 0x7f0301da

    const/4 v5, 0x0

    invoke-static {v2, v4, v5}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    const v2, 0x7f0c058d

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->a:Landroid/widget/TextView;

    const v2, 0x7f0c00eb

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->e:Landroid/widget/TextView;

    const v2, 0x7f0c09e7

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->b:Landroid/widget/TextView;

    const v2, 0x7f0c0509

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->c:Landroid/widget/ImageView;

    const v2, 0x7f0c050a

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->d:Landroid/widget/TextView;

    const v2, 0x7f0c09e6

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->f:Landroid/view/View;

    const v2, 0x7f0c0697

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->g:Landroid/view/View;

    const v2, 0x7f0c01ee

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->h:Landroid/widget/TextView;

    const v2, 0x7f0c08ad

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/product/view/CountView;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    const v2, 0x7f0c096b

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->j:Landroid/view/View;

    const v2, 0x7f0c096d

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->k:Landroid/widget/LinearLayout;

    const v2, 0x7f0c096c

    move-object/from16 v0, p2

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->l:Landroid/widget/TextView;

    iget-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/a/aj;->i:Landroid/widget/TextView$OnEditorActionListener;

    invoke-virtual {v2, v4}, Landroid/widget/EditText;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V

    iget-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v4, Lcom/waiqin365/lightapp/product/a/al;

    move-object/from16 v0, p0

    invoke-direct {v4, v0, v3}, Lcom/waiqin365/lightapp/product/a/al;-><init>(Lcom/waiqin365/lightapp/product/a/aj;Lcom/waiqin365/lightapp/product/a/au;)V

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    iget-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v4, Lcom/waiqin365/lightapp/product/a/am;

    move-object/from16 v0, p0

    invoke-direct {v4, v0, v3}, Lcom/waiqin365/lightapp/product/a/am;-><init>(Lcom/waiqin365/lightapp/product/a/aj;Lcom/waiqin365/lightapp/product/a/au;)V

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/product/view/CountView;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    iget-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->c:Landroid/widget/ImageView;

    new-instance v4, Lcom/waiqin365/lightapp/product/a/ao;

    move-object/from16 v0, p0

    invoke-direct {v4, v0, v3}, Lcom/waiqin365/lightapp/product/a/ao;-><init>(Lcom/waiqin365/lightapp/product/a/aj;Lcom/waiqin365/lightapp/product/a/au;)V

    invoke-virtual {v2, v4}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v2, v3, Lcom/waiqin365/lightapp/product/a/au;->b:Landroid/widget/TextView;

    new-instance v4, Lcom/waiqin365/lightapp/product/a/ap;

    move-object/from16 v0, p0

    invoke-direct {v4, v0, v3}, Lcom/waiqin365/lightapp/product/a/ap;-><init>(Lcom/waiqin365/lightapp/product/a/aj;Lcom/waiqin365/lightapp/product/a/au;)V

    invoke-virtual {v2, v4}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p2

    invoke-virtual {v0, v3}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    move-object v4, v3

    :goto_0
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/a/aj;->b:Ljava/util/List;

    move/from16 v0, p1

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/base/db/jxccache/g;

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v3

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Lcom/waiqin365/base/db/offlinedata/w;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v8

    if-nez v8, :cond_1

    const/16 p2, 0x0

    :goto_1
    return-object p2

    :cond_0
    invoke-virtual/range {p2 .. p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/product/a/au;

    move-object v4, v2

    goto :goto_0

    :cond_1
    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->c:Landroid/widget/ImageView;

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->h:Landroid/widget/TextView;

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/aj;->c()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->l:Landroid/widget/TextView;

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/aj;->c()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/aj;->a()Z

    move-result v3

    if-nez v3, :cond_2

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->f:Landroid/view/View;

    const/16 v5, 0x8

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    :cond_2
    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v3

    invoke-virtual {v8}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Lcom/waiqin365/base/db/offlinedata/w;->d(Ljava/lang/String;)Ljava/util/List;

    move-result-object v9

    move-object/from16 v0, p0

    iget-boolean v3, v0, Lcom/waiqin365/lightapp/product/a/aj;->g:Z

    if-eqz v3, :cond_4

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->g:Landroid/view/View;

    const/16 v5, 0x8

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->j:Landroid/view/View;

    const/4 v5, 0x0

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    :goto_2
    move-object/from16 v0, p0

    iget-boolean v3, v0, Lcom/waiqin365/lightapp/product/a/aj;->g:Z

    if-eqz v3, :cond_c

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->j:Landroid/view/View;

    const/4 v5, 0x0

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->g:Landroid/view/View;

    const/16 v5, 0x8

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v3}, Landroid/widget/LinearLayout;->removeAllViews()V

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v3

    if-nez v3, :cond_8

    const-wide/16 v6, 0x0

    :goto_3
    if-eqz v9, :cond_e

    invoke-interface {v9}, Ljava/util/List;->size()I

    move-result v3

    if-lez v3, :cond_e

    new-instance v10, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v5, -0x2

    invoke-direct {v10, v3, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v3, 0x0

    move v5, v3

    :goto_4
    invoke-interface {v9}, Ljava/util/List;->size()I

    move-result v3

    if-ge v5, v3, :cond_e

    invoke-interface {v9, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/waiqin365/base/db/offlinedata/s;

    new-instance v11, Lcom/waiqin365/lightapp/product/view/CountView;

    move-object/from16 v0, p0

    iget-object v12, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    invoke-direct {v11, v12}, Lcom/waiqin365/lightapp/product/view/CountView;-><init>(Landroid/content/Context;)V

    const/4 v12, 0x0

    invoke-virtual {v11, v12}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    const/4 v12, 0x1

    invoke-virtual {v11, v12}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    invoke-virtual {v11, v3}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    invoke-interface {v9}, Ljava/util/List;->size()I

    move-result v12

    add-int/lit8 v12, v12, -0x1

    if-ne v12, v5, :cond_a

    const-wide/16 v12, 0x0

    cmpl-double v3, v6, v12

    if-lez v3, :cond_9

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v12, ""

    invoke-virtual {v3, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    :goto_5
    invoke-virtual {v11, v3}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :cond_3
    :goto_6
    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v3

    move-object/from16 v0, p0

    iget-object v12, v0, Lcom/waiqin365/lightapp/product/a/aj;->i:Landroid/widget/TextView$OnEditorActionListener;

    invoke-virtual {v3, v12}, Landroid/widget/EditText;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V

    new-instance v3, Lcom/waiqin365/lightapp/product/a/aq;

    move-object/from16 v0, p0

    invoke-direct {v3, v0, v4}, Lcom/waiqin365/lightapp/product/a/aq;-><init>(Lcom/waiqin365/lightapp/product/a/aj;Lcom/waiqin365/lightapp/product/a/au;)V

    invoke-virtual {v11, v3}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    new-instance v3, Lcom/waiqin365/lightapp/product/a/ar;

    move-object/from16 v0, p0

    invoke-direct {v3, v0, v11}, Lcom/waiqin365/lightapp/product/a/ar;-><init>(Lcom/waiqin365/lightapp/product/a/aj;Lcom/waiqin365/lightapp/product/view/CountView;)V

    invoke-virtual {v11, v3}, Lcom/waiqin365/lightapp/product/view/CountView;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    if-eqz v5, :cond_b

    const/4 v3, 0x0

    move-object/from16 v0, p0

    iget-object v12, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const/high16 v13, 0x40c00000    # 6.0f

    invoke-static {v12, v13}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v12

    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const/high16 v14, 0x40c00000    # 6.0f

    invoke-static {v13, v14}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v13

    const/4 v14, 0x0

    invoke-virtual {v10, v3, v12, v13, v14}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v11, v10}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :goto_7
    add-int/lit8 v3, v5, 0x1

    move v5, v3

    goto/16 :goto_4

    :cond_4
    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->g:Landroid/view/View;

    const/4 v5, 0x0

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->j:Landroid/view/View;

    const/16 v5, 0x8

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    if-eqz v9, :cond_5

    invoke-interface {v9}, Ljava/util/List;->size()I

    move-result v3

    if-nez v3, :cond_6

    :cond_5
    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v5, 0x0

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v5, 0x0

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    goto/16 :goto_2

    :cond_6
    invoke-interface {v9}, Ljava/util/List;->size()I

    move-result v3

    const/4 v5, 0x1

    if-ne v3, v5, :cond_7

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v5, 0x1

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v5, 0x0

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    goto/16 :goto_2

    :cond_7
    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v5, 0x1

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v5, 0x1

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    goto/16 :goto_2

    :cond_8
    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v6

    goto/16 :goto_3

    :cond_9
    const-string/jumbo v3, ""

    goto/16 :goto_5

    :cond_a
    invoke-virtual {v3}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v12

    div-double v12, v6, v12

    double-to-int v12, v12

    if-lez v12, :cond_3

    int-to-double v14, v12

    invoke-virtual {v3}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v16

    mul-double v14, v14, v16

    sub-double/2addr v6, v14

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v12, ""

    invoke-virtual {v3, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v11, v3}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    goto/16 :goto_6

    :cond_b
    const/4 v3, 0x0

    const/4 v12, 0x0

    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const/high16 v14, 0x40c00000    # 6.0f

    invoke-static {v13, v14}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v13

    const/4 v14, 0x0

    invoke-virtual {v10, v3, v12, v13, v14}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v11, v10}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_7

    :cond_c
    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->j:Landroid/view/View;

    const/16 v5, 0x8

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->g:Landroid/view/View;

    const/4 v5, 0x0

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v3

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->h()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Lcom/waiqin365/base/db/offlinedata/w;->e(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v3

    if-nez v3, :cond_d

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v3

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Lcom/waiqin365/base/db/offlinedata/w;->f(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v3

    :cond_d
    iget-object v5, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v5}, Lcom/waiqin365/lightapp/product/view/CountView;->d()V

    iget-object v5, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v5, v3}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v3

    if-nez v3, :cond_f

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    const-string/jumbo v5, ""

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :cond_e
    :goto_8
    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->a:Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const/4 v6, 0x0

    invoke-static {v5, v8, v6}, Lcom/waiqin365/lightapp/product/e/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/product/d/f;Z)Landroid/text/SpannableStringBuilder;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v3, v8, Lcom/waiqin365/lightapp/product/d/f;->e:Ljava/lang/String;

    invoke-static {v3}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_10

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->e:Landroid/widget/TextView;

    const/16 v5, 0x8

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_9
    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->e()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_11

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_11

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->b:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, "  "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const v5, 0x7f080552

    invoke-virtual {v4, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const v5, 0x7f080552

    invoke-virtual {v4, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v5, "#0275d8"

    invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v5

    invoke-static {v2, v4, v5}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v2

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_f
    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->i:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v6

    invoke-virtual {v5, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v6, ""

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    goto/16 :goto_8

    :cond_10
    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->e:Landroid/widget/TextView;

    iget-object v5, v8, Lcom/waiqin365/lightapp/product/d/f;->e:Ljava/lang/String;

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v3, v4, Lcom/waiqin365/lightapp/product/a/au;->e:Landroid/widget/TextView;

    const/4 v5, 0x0

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_9

    :cond_11
    iget-object v2, v4, Lcom/waiqin365/lightapp/product/a/au;->b:Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const v4, 0x7f08032c

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/a/aj;->a:Landroid/content/Context;

    const v5, 0x7f08032c

    invoke-virtual {v4, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v5, "#0275d8"

    invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v5

    invoke-static {v3, v4, v5}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1
.end method
